package org.mtmi.ui.controls.midi;

import org.mtmi.midi.MidiManager;

public interface IMidiControl 
{
	/** @return the MIDI port used by control, see {@link MidiManager} */
	int getMidiOutput();
	
	/** Change MIDI port used by control (from 0 to available {@link MidiManager} outputs */
	void setMidiOutput( int output );
	
	/** @return the MIDI channel used by control */
	int getMidiChannel();
	
	/** Change MIDI channel used by control [0..15] */
	void setMidiChannel( int channel );
}
